package cn.yuanqiao.activiti.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程档案数据绑定对象 ACT_ARCHIVE_DATA
 * 
 * @author lyk
 * @date 2023-07-11
 */
public class ActArchiveData extends BaseEntity
{

    public ActArchiveData(){

    }

    public ActArchiveData(String archiveId){
        this.archiveId = archiveId;
    }

    public ActArchiveData(String archiveId,String deployId){
        this.archiveId = archiveId;
        this.deployId = deployId;
    }
    private static final long serialVersionUID = 1L;

    /** 实例ID */
    @Excel(name = "实例ID")
    private String deployId;

    /** 流程Key */
    @Excel(name = "流程Key")
    private String activitiKey;

    /** 档案ID */
    @Excel(name = "档案ID")
    private String archiveId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String STATE;

    /** 参数1 */
    @Excel(name = "参数1")
    private String param1;

    /** 参数2 */
    @Excel(name = "参数2")
    private String param2;

    /** 参数3 */
    @Excel(name = "参数3")
    private String param3;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String annexPath;

    public void setDeployId(String deployId) 
    {
        this.deployId = deployId;
    }

    public String getDeployId() 
    {
        return deployId;
    }
    public void setActivitiKey(String activitiKey) 
    {
        this.activitiKey = activitiKey;
    }

    public String getActivitiKey() 
    {
        return activitiKey;
    }
    public void setArchiveId(String archiveId) 
    {
        this.archiveId = archiveId;
    }

    public String getArchiveId() 
    {
        return archiveId;
    }
    public void setSTATE(String STATE) 
    {
        this.STATE = STATE;
    }

    public String getSTATE() 
    {
        return STATE;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }
    public void setParam2(String param2) 
    {
        this.param2 = param2;
    }

    public String getParam2() 
    {
        return param2;
    }
    public void setParam3(String param3) 
    {
        this.param3 = param3;
    }

    public String getParam3() 
    {
        return param3;
    }
    public void setAnnexPath(String annexPath) 
    {
        this.annexPath = annexPath;
    }

    public String getAnnexPath() 
    {
        return annexPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deployId", getDeployId())
            .append("activitiKey", getActivitiKey())
            .append("archiveId", getArchiveId())
            .append("STATE", getSTATE())
            .append("createTime", getCreateTime())
            .append("param1", getParam1())
            .append("param2", getParam2())
            .append("param3", getParam3())
            .append("annexPath", getAnnexPath())
            .toString();
    }
}
